  /**
   * Generate time : 2016-04-26 20:11:24
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.ck.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCKRJGGL 
 * table comment : 入井管轨缆接地装置检查 
 */
public class ZMCKRJGGL extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdYjsfId = " ";		/* 雨季三防主表ID*/
	private String fdCurrentDate = " ";		/* 当前日期*/
	private String fdFhssProblem = " ";		/* 存在问题*/
	private String fdFhssJcr = " ";		/* 检查人*/
	private String fdFhssTime = " ";		/* 检查时间*/
	private String fdDepartmentId = " ";		/* 责任单位ID*/
	private String fdDepartment = " ";		/* 责任单位*/
	private String fdPeopleId = " ";		/* 责任人ID*/
	private String fdPeopleName = " ";		/* 责任人*/
	private String fdJdzzName = " ";		/* 装置名称*/
	private String fdJdzzAzdd = " ";		/* 安装地点*/
	private String fdJdzzJddz = " ";		/* 接地电阻*/
	private String fdJdzzJydz = " ";		/* 绝缘电阻*/
	private String fdJdzzSfwh = " ";		/* 是否完好*/
	private String fdStatus = " ";
	private String fdDocid = "";
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDocid");
	eiColumn.setFieldLength(35);	
	eiColumn.setDescName("附件");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdYjsfId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("雨季三防主表ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCurrentDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("当前日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssProblem");
	eiColumn.setFieldLength(200);	
	eiColumn.setDescName("存在问题");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssJcr");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("检查人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("检查时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("责任单位ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartment");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("责任单位");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPeopleId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("责任人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPeopleName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("责任人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdJdzzName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("装置名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdJdzzAzdd");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("安装地点");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdJdzzJddz");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("接地电阻");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdJdzzJydz");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("绝缘电阻");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdJdzzSfwh");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("是否完好");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdStatus");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCKRJGGL() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdYjsfId - 雨季三防主表ID
	 * @return the fdYjsfId
	 */
	public String getFdYjsfId() {
		return this.fdYjsfId;
	}
	
	/**
	 * set the fdYjsfId - 雨季三防主表ID
	 */
	public void setFdYjsfId(String fdYjsfId) {
		this.fdYjsfId = fdYjsfId;
	}
	/**
	 * get the fdCurrentDate - 当前日期
	 * @return the fdCurrentDate
	 */
	public String getFdCurrentDate() {
		return this.fdCurrentDate;
	}
	
	/**
	 * set the fdCurrentDate - 当前日期
	 */
	public void setFdCurrentDate(String fdCurrentDate) {
		this.fdCurrentDate = fdCurrentDate;
	}
	/**
	 * get the fdFhssProblem - 存在问题
	 * @return the fdFhssProblem
	 */
	public String getFdFhssProblem() {
		return this.fdFhssProblem;
	}
	
	/**
	 * set the fdFhssProblem - 存在问题
	 */
	public void setFdFhssProblem(String fdFhssProblem) {
		this.fdFhssProblem = fdFhssProblem;
	}
	/**
	 * get the fdFhssJcr - 检查人
	 * @return the fdFhssJcr
	 */
	public String getFdFhssJcr() {
		return this.fdFhssJcr;
	}
	
	/**
	 * set the fdFhssJcr - 检查人
	 */
	public void setFdFhssJcr(String fdFhssJcr) {
		this.fdFhssJcr = fdFhssJcr;
	}
	/**
	 * get the fdFhssTime - 检查时间
	 * @return the fdFhssTime
	 */
	public String getFdFhssTime() {
		return this.fdFhssTime;
	}
	
	/**
	 * set the fdFhssTime - 检查时间
	 */
	public void setFdFhssTime(String fdFhssTime) {
		this.fdFhssTime = fdFhssTime;
	}
	/**
	 * get the fdDepartmentId - 责任单位ID
	 * @return the fdDepartmentId
	 */
	public String getFdDepartmentId() {
		return this.fdDepartmentId;
	}
	
	/**
	 * set the fdDepartmentId - 责任单位ID
	 */
	public void setFdDepartmentId(String fdDepartmentId) {
		this.fdDepartmentId = fdDepartmentId;
	}
	/**
	 * get the fdDepartment - 责任单位
	 * @return the fdDepartment
	 */
	public String getFdDepartment() {
		return this.fdDepartment;
	}
	
	/**
	 * set the fdDepartment - 责任单位
	 */
	public void setFdDepartment(String fdDepartment) {
		this.fdDepartment = fdDepartment;
	}
	/**
	 * get the fdPeopleId - 责任人ID
	 * @return the fdPeopleId
	 */
	public String getFdPeopleId() {
		return this.fdPeopleId;
	}
	
	/**
	 * set the fdPeopleId - 责任人ID
	 */
	public void setFdPeopleId(String fdPeopleId) {
		this.fdPeopleId = fdPeopleId;
	}
	/**
	 * get the fdPeopleName - 责任人
	 * @return the fdPeopleName
	 */
	public String getFdPeopleName() {
		return this.fdPeopleName;
	}
	
	/**
	 * set the fdPeopleName - 责任人
	 */
	public void setFdPeopleName(String fdPeopleName) {
		this.fdPeopleName = fdPeopleName;
	}
	/**
	 * get the fdJdzzName - 装置名称
	 * @return the fdJdzzName
	 */
	public String getFdJdzzName() {
		return this.fdJdzzName;
	}
	
	/**
	 * set the fdJdzzName - 装置名称
	 */
	public void setFdJdzzName(String fdJdzzName) {
		this.fdJdzzName = fdJdzzName;
	}
	/**
	 * get the fdJdzzAzdd - 安装地点
	 * @return the fdJdzzAzdd
	 */
	public String getFdJdzzAzdd() {
		return this.fdJdzzAzdd;
	}
	
	/**
	 * set the fdJdzzAzdd - 安装地点
	 */
	public void setFdJdzzAzdd(String fdJdzzAzdd) {
		this.fdJdzzAzdd = fdJdzzAzdd;
	}
	/**
	 * get the fdJdzzJddz - 接地电阻
	 * @return the fdJdzzJddz
	 */
	public String getFdJdzzJddz() {
		return this.fdJdzzJddz;
	}
	
	/**
	 * set the fdJdzzJddz - 接地电阻
	 */
	public void setFdJdzzJddz(String fdJdzzJddz) {
		this.fdJdzzJddz = fdJdzzJddz;
	}
	/**
	 * get the fdJdzzJydz - 绝缘电阻
	 * @return the fdJdzzJydz
	 */
	public String getFdJdzzJydz() {
		return this.fdJdzzJydz;
	}
	
	/**
	 * set the fdJdzzJydz - 绝缘电阻
	 */
	public void setFdJdzzJydz(String fdJdzzJydz) {
		this.fdJdzzJydz = fdJdzzJydz;
	}
	/**
	 * get the fdJdzzSfwh - 是否完好
	 * @return the fdJdzzSfwh
	 */
	public String getFdJdzzSfwh() {
		return this.fdJdzzSfwh;
	}
	
	/**
	 * set the fdJdzzSfwh - 是否完好
	 */
	public void setFdJdzzSfwh(String fdJdzzSfwh) {
		this.fdJdzzSfwh = fdJdzzSfwh;
	}
	/**
	 * get the fdStatus 
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}
	
	/**
	 * set the fdStatus 
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}
	public String getFdDocid() {
		return fdDocid;
	}
	public void setFdDocid(String fdDocid) {
		this.fdDocid = fdDocid;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdYjsfId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdYjsfId")), fdYjsfId));
		setFdCurrentDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCurrentDate")), fdCurrentDate));
		setFdFhssProblem(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssProblem")), fdFhssProblem));
		setFdFhssJcr(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssJcr")), fdFhssJcr));
		setFdFhssTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssTime")), fdFhssTime));
		setFdDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartmentId")), fdDepartmentId));
		setFdDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartment")), fdDepartment));
		setFdPeopleId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPeopleId")), fdPeopleId));
		setFdPeopleName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPeopleName")), fdPeopleName));
		setFdJdzzName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdJdzzName")), fdJdzzName));
		setFdJdzzAzdd(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdJdzzAzdd")), fdJdzzAzdd));
		setFdJdzzJddz(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdJdzzJddz")), fdJdzzJddz));
		setFdJdzzJydz(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdJdzzJydz")), fdJdzzJydz));
		setFdJdzzSfwh(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdJdzzSfwh")), fdJdzzSfwh));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
		setFdDocid(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDocid")), fdDocid));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdYjsfId",StringUtils.toString(fdYjsfId, eiMetadata.getMeta("fdYjsfId")));	
			map.put("fdCurrentDate",StringUtils.toString(fdCurrentDate, eiMetadata.getMeta("fdCurrentDate")));	
			map.put("fdFhssProblem",StringUtils.toString(fdFhssProblem, eiMetadata.getMeta("fdFhssProblem")));	
			map.put("fdFhssJcr",StringUtils.toString(fdFhssJcr, eiMetadata.getMeta("fdFhssJcr")));	
			map.put("fdFhssTime",StringUtils.toString(fdFhssTime, eiMetadata.getMeta("fdFhssTime")));	
			map.put("fdDepartmentId",StringUtils.toString(fdDepartmentId, eiMetadata.getMeta("fdDepartmentId")));	
			map.put("fdDepartment",StringUtils.toString(fdDepartment, eiMetadata.getMeta("fdDepartment")));	
			map.put("fdPeopleId",StringUtils.toString(fdPeopleId, eiMetadata.getMeta("fdPeopleId")));	
			map.put("fdPeopleName",StringUtils.toString(fdPeopleName, eiMetadata.getMeta("fdPeopleName")));	
			map.put("fdJdzzName",StringUtils.toString(fdJdzzName, eiMetadata.getMeta("fdJdzzName")));	
			map.put("fdJdzzAzdd",StringUtils.toString(fdJdzzAzdd, eiMetadata.getMeta("fdJdzzAzdd")));	
			map.put("fdJdzzJddz",StringUtils.toString(fdJdzzJddz, eiMetadata.getMeta("fdJdzzJddz")));	
			map.put("fdJdzzJydz",StringUtils.toString(fdJdzzJydz, eiMetadata.getMeta("fdJdzzJydz")));	
			map.put("fdJdzzSfwh",StringUtils.toString(fdJdzzSfwh, eiMetadata.getMeta("fdJdzzSfwh")));	
			map.put("fdStatus",StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));	
			map.put("fdDocid", StringUtils.toString(fdDocid, eiMetadata.getMeta("fdDocid")));
			
		return map;
	
	}
}